package top.frsf.consumer;

import org.springframework.stereotype.Service;
import top.frsf.api.model.User;
import top.frsf.api.service.UserService;
import top.frsf.rpc.annotations.RpcReference;

/**
 * @author He Kuntao
 * @since 2025/7/8 10:44
 */
@Service
public class TestService {

    @RpcReference
    private UserService userService;


    void test() {
        User user = userService.getUser();
        System.out.println(user);
    }
}
